package com.quanyan.ic.vendingMachine.mapper.entity;

import com.quanyan.ic.common.paging.Limit;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VmGridGoodsMappingEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Limit limit;

    public VmGridGoodsMappingEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Limit limit) {
        this.limit = limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNull() {
            addCriterion("vm_number is null");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNotNull() {
            addCriterion("vm_number is not null");
            return (Criteria) this;
        }

        public Criteria andVmNumberEqualTo(String value) {
            addCriterion("vm_number =", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotEqualTo(String value) {
            addCriterion("vm_number <>", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThan(String value) {
            addCriterion("vm_number >", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThanOrEqualTo(String value) {
            addCriterion("vm_number >=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThan(String value) {
            addCriterion("vm_number <", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThanOrEqualTo(String value) {
            addCriterion("vm_number <=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLike(String value) {
            addCriterion("vm_number like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotLike(String value) {
            addCriterion("vm_number not like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberIn(List<String> values) {
            addCriterion("vm_number in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotIn(List<String> values) {
            addCriterion("vm_number not in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberBetween(String value1, String value2) {
            addCriterion("vm_number between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotBetween(String value1, String value2) {
            addCriterion("vm_number not between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andGridIsNull() {
            addCriterion("grid is null");
            return (Criteria) this;
        }

        public Criteria andGridIsNotNull() {
            addCriterion("grid is not null");
            return (Criteria) this;
        }

        public Criteria andGridEqualTo(String value) {
            addCriterion("grid =", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridNotEqualTo(String value) {
            addCriterion("grid <>", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridGreaterThan(String value) {
            addCriterion("grid >", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridGreaterThanOrEqualTo(String value) {
            addCriterion("grid >=", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridLessThan(String value) {
            addCriterion("grid <", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridLessThanOrEqualTo(String value) {
            addCriterion("grid <=", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridLike(String value) {
            addCriterion("grid like", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridNotLike(String value) {
            addCriterion("grid not like", value, "grid");
            return (Criteria) this;
        }

        public Criteria andGridIn(List<String> values) {
            addCriterion("grid in", values, "grid");
            return (Criteria) this;
        }

        public Criteria andGridNotIn(List<String> values) {
            addCriterion("grid not in", values, "grid");
            return (Criteria) this;
        }

        public Criteria andGridBetween(String value1, String value2) {
            addCriterion("grid between", value1, value2, "grid");
            return (Criteria) this;
        }

        public Criteria andGridNotBetween(String value1, String value2) {
            addCriterion("grid not between", value1, value2, "grid");
            return (Criteria) this;
        }

        public Criteria andGridNumberIsNull() {
            addCriterion("grid_number is null");
            return (Criteria) this;
        }

        public Criteria andGridNumberIsNotNull() {
            addCriterion("grid_number is not null");
            return (Criteria) this;
        }

        public Criteria andGridNumberEqualTo(Byte value) {
            addCriterion("grid_number =", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberNotEqualTo(Byte value) {
            addCriterion("grid_number <>", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberGreaterThan(Byte value) {
            addCriterion("grid_number >", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberGreaterThanOrEqualTo(Byte value) {
            addCriterion("grid_number >=", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberLessThan(Byte value) {
            addCriterion("grid_number <", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberLessThanOrEqualTo(Byte value) {
            addCriterion("grid_number <=", value, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberIn(List<Byte> values) {
            addCriterion("grid_number in", values, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberNotIn(List<Byte> values) {
            addCriterion("grid_number not in", values, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberBetween(Byte value1, Byte value2) {
            addCriterion("grid_number between", value1, value2, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andGridNumberNotBetween(Byte value1, Byte value2) {
            addCriterion("grid_number not between", value1, value2, "gridNumber");
            return (Criteria) this;
        }

        public Criteria andInventoryIsNull() {
            addCriterion("inventory is null");
            return (Criteria) this;
        }

        public Criteria andInventoryIsNotNull() {
            addCriterion("inventory is not null");
            return (Criteria) this;
        }

        public Criteria andInventoryEqualTo(Byte value) {
            addCriterion("inventory =", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotEqualTo(Byte value) {
            addCriterion("inventory <>", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryGreaterThan(Byte value) {
            addCriterion("inventory >", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryGreaterThanOrEqualTo(Byte value) {
            addCriterion("inventory >=", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryLessThan(Byte value) {
            addCriterion("inventory <", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryLessThanOrEqualTo(Byte value) {
            addCriterion("inventory <=", value, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryIn(List<Byte> values) {
            addCriterion("inventory in", values, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotIn(List<Byte> values) {
            addCriterion("inventory not in", values, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryBetween(Byte value1, Byte value2) {
            addCriterion("inventory between", value1, value2, "inventory");
            return (Criteria) this;
        }

        public Criteria andInventoryNotBetween(Byte value1, Byte value2) {
            addCriterion("inventory not between", value1, value2, "inventory");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Integer value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Integer value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Integer value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Integer value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Integer> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Integer> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidIsNull() {
            addCriterion("goods_uuid is null");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidIsNotNull() {
            addCriterion("goods_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidEqualTo(String value) {
            addCriterion("goods_uuid =", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidNotEqualTo(String value) {
            addCriterion("goods_uuid <>", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidGreaterThan(String value) {
            addCriterion("goods_uuid >", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidGreaterThanOrEqualTo(String value) {
            addCriterion("goods_uuid >=", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidLessThan(String value) {
            addCriterion("goods_uuid <", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidLessThanOrEqualTo(String value) {
            addCriterion("goods_uuid <=", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidLike(String value) {
            addCriterion("goods_uuid like", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidNotLike(String value) {
            addCriterion("goods_uuid not like", value, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidIn(List<String> values) {
            addCriterion("goods_uuid in", values, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidNotIn(List<String> values) {
            addCriterion("goods_uuid not in", values, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidBetween(String value1, String value2) {
            addCriterion("goods_uuid between", value1, value2, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsUuidNotBetween(String value1, String value2) {
            addCriterion("goods_uuid not between", value1, value2, "goodsUuid");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdIsNull() {
            addCriterion("goods_category_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdIsNotNull() {
            addCriterion("goods_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdEqualTo(Integer value) {
            addCriterion("goods_category_id =", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdNotEqualTo(Integer value) {
            addCriterion("goods_category_id <>", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdGreaterThan(Integer value) {
            addCriterion("goods_category_id >", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_category_id >=", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdLessThan(Integer value) {
            addCriterion("goods_category_id <", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_category_id <=", value, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdIn(List<Integer> values) {
            addCriterion("goods_category_id in", values, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdNotIn(List<Integer> values) {
            addCriterion("goods_category_id not in", values, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_category_id between", value1, value2, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_category_id not between", value1, value2, "goodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIsNull() {
            addCriterion("goods_category is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIsNotNull() {
            addCriterion("goods_category is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryEqualTo(String value) {
            addCriterion("goods_category =", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryNotEqualTo(String value) {
            addCriterion("goods_category <>", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryGreaterThan(String value) {
            addCriterion("goods_category >", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("goods_category >=", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryLessThan(String value) {
            addCriterion("goods_category <", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryLessThanOrEqualTo(String value) {
            addCriterion("goods_category <=", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryLike(String value) {
            addCriterion("goods_category like", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryNotLike(String value) {
            addCriterion("goods_category not like", value, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryIn(List<String> values) {
            addCriterion("goods_category in", values, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryNotIn(List<String> values) {
            addCriterion("goods_category not in", values, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryBetween(String value1, String value2) {
            addCriterion("goods_category between", value1, value2, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsCategoryNotBetween(String value1, String value2) {
            addCriterion("goods_category not between", value1, value2, "goodsCategory");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNull() {
            addCriterion("goods_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNotNull() {
            addCriterion("goods_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceEqualTo(BigDecimal value) {
            addCriterion("goods_price =", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotEqualTo(BigDecimal value) {
            addCriterion("goods_price <>", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThan(BigDecimal value) {
            addCriterion("goods_price >", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_price >=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThan(BigDecimal value) {
            addCriterion("goods_price <", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_price <=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIn(List<BigDecimal> values) {
            addCriterion("goods_price in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotIn(List<BigDecimal> values) {
            addCriterion("goods_price not in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_price between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_price not between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlIsNull() {
            addCriterion("goods_small_img_url is null");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlIsNotNull() {
            addCriterion("goods_small_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlEqualTo(String value) {
            addCriterion("goods_small_img_url =", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlNotEqualTo(String value) {
            addCriterion("goods_small_img_url <>", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlGreaterThan(String value) {
            addCriterion("goods_small_img_url >", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("goods_small_img_url >=", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlLessThan(String value) {
            addCriterion("goods_small_img_url <", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlLessThanOrEqualTo(String value) {
            addCriterion("goods_small_img_url <=", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlLike(String value) {
            addCriterion("goods_small_img_url like", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlNotLike(String value) {
            addCriterion("goods_small_img_url not like", value, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlIn(List<String> values) {
            addCriterion("goods_small_img_url in", values, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlNotIn(List<String> values) {
            addCriterion("goods_small_img_url not in", values, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlBetween(String value1, String value2) {
            addCriterion("goods_small_img_url between", value1, value2, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsSmallImgUrlNotBetween(String value1, String value2) {
            addCriterion("goods_small_img_url not between", value1, value2, "goodsSmallImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlIsNull() {
            addCriterion("goods_middle_img_url is null");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlIsNotNull() {
            addCriterion("goods_middle_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlEqualTo(String value) {
            addCriterion("goods_middle_img_url =", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlNotEqualTo(String value) {
            addCriterion("goods_middle_img_url <>", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlGreaterThan(String value) {
            addCriterion("goods_middle_img_url >", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("goods_middle_img_url >=", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlLessThan(String value) {
            addCriterion("goods_middle_img_url <", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlLessThanOrEqualTo(String value) {
            addCriterion("goods_middle_img_url <=", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlLike(String value) {
            addCriterion("goods_middle_img_url like", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlNotLike(String value) {
            addCriterion("goods_middle_img_url not like", value, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlIn(List<String> values) {
            addCriterion("goods_middle_img_url in", values, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlNotIn(List<String> values) {
            addCriterion("goods_middle_img_url not in", values, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlBetween(String value1, String value2) {
            addCriterion("goods_middle_img_url between", value1, value2, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsMiddleImgUrlNotBetween(String value1, String value2) {
            addCriterion("goods_middle_img_url not between", value1, value2, "goodsMiddleImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlIsNull() {
            addCriterion("goods_large_img_url is null");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlIsNotNull() {
            addCriterion("goods_large_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlEqualTo(String value) {
            addCriterion("goods_large_img_url =", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlNotEqualTo(String value) {
            addCriterion("goods_large_img_url <>", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlGreaterThan(String value) {
            addCriterion("goods_large_img_url >", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("goods_large_img_url >=", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlLessThan(String value) {
            addCriterion("goods_large_img_url <", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlLessThanOrEqualTo(String value) {
            addCriterion("goods_large_img_url <=", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlLike(String value) {
            addCriterion("goods_large_img_url like", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlNotLike(String value) {
            addCriterion("goods_large_img_url not like", value, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlIn(List<String> values) {
            addCriterion("goods_large_img_url in", values, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlNotIn(List<String> values) {
            addCriterion("goods_large_img_url not in", values, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlBetween(String value1, String value2) {
            addCriterion("goods_large_img_url between", value1, value2, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsLargeImgUrlNotBetween(String value1, String value2) {
            addCriterion("goods_large_img_url not between", value1, value2, "goodsLargeImgUrl");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}